diff --git a/botcmd.py b/botcmd.py index 2ecc95e..5bd9d74 100644 --- a/botcmd.py +++ b/botcmd.py @@ -24,3 +24,6 @@ def parse((line,irc)): if line[3][1:] in oprights and int(line[5])==3: for chan in oprights[line[3][1:]]: irc.send('MODE %s +o %s'%(chan,line[3][1:])) + elif line[1]=='JOIN' and line[0].split('!')[0][1:] in oprights and line[2] in oprights[line[0].split('!')[0][1:]]: + irc.send('PRIVMSG NickServ :ACC '+line[0].split('!')[0][1:]) + diff --git a/botcmd.pyc b/botcmd.pyc index c71f4c1..3816ff6 100644 Binary files a/botcmd.pyc and b/botcmd.pyc differ