Changeset 1005 for trunk/plugins/en/irc_join.tcl
- Timestamp:
- 05/01/09 04:26:34 (3 years ago)
- File:
-
- 1 edited
-
trunk/plugins/en/irc_join.tcl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/irc_join.tcl
r1002 r1005 3 3 ############################################################################### 4 4 # This is a bMotion plugin 5 # Copyright (C) James Seward 2000-200 85 # Copyright (C) James Seward 2000-2009 6 6 # 7 7 # This program is covered by the GPL, please refer the to LICENCE file in the … … 12 12 13 13 proc bMotion_plugins_irc_default_join { nick host handle channel text } { 14 #if the user isban then dont bother 15 if {[ischanban $nick $channel] == 1 } { 16 bMotion_putloglev d * "dropping greeting for $nick on $channel as user is banned" 17 return 0 18 } 14 bMotion_putloglev 4 * "bMotion_plugins_irc_default_join $nick $host $handle $channel $text" 15 16 #if the user isban then dont bother 17 if {[ischanban $nick $channel] == 1 } { 18 bMotion_putloglev d * "dropping greeting for $nick on $channel as user is banned" 19 return 0 20 } 19 21 20 22 #has something happened since we last greeted? … … 29 31 30 32 # skip this check if handle is * as it's pointless 31 if {$handle == "*"} {33 if {$handle != "*"} { 32 34 # check if the user is already in the channel - probably means they've joined a 2nd client 33 35 # or that they're about to ping out or something … … 85 87 #set nick [bMotion_cleanNick $nick $handle] 86 88 if {[getFriendship $nick] < 50} { 87 set greetings [bMotion_abstract_all "dislike_joins"]89 set greetings "dislike_joins" 88 90 } 89 91
Note: See TracChangeset
for help on using the changeset viewer.
