mirror of
https://github.com/nichkara/InfinitumBotty.git
synced 2026-06-11 06:36:24 +02:00
Another change on identification
This commit is contained in:
@@ -143,7 +143,6 @@ class Connection(object):
|
|||||||
self.irc.send("USER botty botty botty :Botty \n".encode())
|
self.irc.send("USER botty botty botty :Botty \n".encode())
|
||||||
if (self.details.get_pwd() != ''):
|
if (self.details.get_pwd() != ''):
|
||||||
self.send_to_user("NICKSERV", "identify " + self.details.get_nick() + " " + self.details.get_pwd() + ' ')
|
self.send_to_user("NICKSERV", "identify " + self.details.get_nick() + " " + self.details.get_pwd() + ' ')
|
||||||
time.sleep(3)
|
|
||||||
self.irc.send("JOIN ".encode() + self.details.get_channel().encode() + '\r\n'.encode())
|
self.irc.send("JOIN ".encode() + self.details.get_channel().encode() + '\r\n'.encode())
|
||||||
self.irc.send("WHO ".encode() + self.details.get_channel().encode() + '\r\n'.encode())
|
self.irc.send("WHO ".encode() + self.details.get_channel().encode() + '\r\n'.encode())
|
||||||
self.irc.send("MODE ".encode()+self.details.get_nick().encode()+" -R".encode()+'\r\n'.encode())
|
self.irc.send("MODE ".encode()+self.details.get_nick().encode()+" -R".encode()+'\r\n'.encode())
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
from types import NoneType
|
|
||||||
from FaustBot.Communication import Connection
|
from FaustBot.Communication import Connection
|
||||||
from FaustBot.Modules.PrivMsgObserverPrototype import PrivMsgObserverPrototype
|
from FaustBot.Modules.PrivMsgObserverPrototype import PrivMsgObserverPrototype
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user