This commit is contained in:
parent
fbb3e074cb
commit
f3d2af23a0
1 changed files with 3 additions and 3 deletions
|
@ -115,6 +115,9 @@ for i in mods['allsocket']:
|
||||||
print(str(ex))
|
print(str(ex))
|
||||||
socketListeners.append(i.IRCatModule(**requires))
|
socketListeners.append(i.IRCatModule(**requires))
|
||||||
commandProviders = []
|
commandProviders = []
|
||||||
|
nickname_list = {} # Stores nicknames and the respective sockets
|
||||||
|
lower_nicks = {"catserv": "CatServ"} # Nicknames in lowercase
|
||||||
|
property_list = {"CatServ": {"host": "IRCatCore", "username": "Meow", "realname": "Updates bot", "modes": "iw", "away": False}} # Stores properties for active users and channels
|
||||||
for i in mods['command']:
|
for i in mods['command']:
|
||||||
requires = {}
|
requires = {}
|
||||||
for j in i.__ircat_requires__:
|
for j in i.__ircat_requires__:
|
||||||
|
@ -150,10 +153,7 @@ if ssl_option:
|
||||||
sockets_ssl[i].bind((i,6697))
|
sockets_ssl[i].bind((i,6697))
|
||||||
sockets_ssl[i].listen(1)
|
sockets_ssl[i].listen(1)
|
||||||
opened=True
|
opened=True
|
||||||
nickname_list = {} # Stores nicknames and the respective sockets
|
|
||||||
lower_nicks = {"catserv": "CatServ"} # Nicknames in lowercase
|
|
||||||
lower_chans = {} # Channel names in lowercase
|
lower_chans = {} # Channel names in lowercase
|
||||||
property_list = {"CatServ": {"host": "IRCatCore", "username": "Meow", "realname": "Updates bot", "modes": "iw", "away": False}} # Stores properties for active users and channels
|
|
||||||
def pinger(nick, connection):
|
def pinger(nick, connection):
|
||||||
global property_list
|
global property_list
|
||||||
while nick in property_list:
|
while nick in property_list:
|
||||||
|
|
Loading…
Add table
Reference in a new issue