mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Fixed possible uncaught exception bugz0r.
This commit is contained in:
parent
fcb5163527
commit
d00935854e
@ -39,6 +39,7 @@ import plugins
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
import copy
|
||||||
import time
|
import time
|
||||||
from itertools import imap, ifilter
|
from itertools import imap, ifilter
|
||||||
|
|
||||||
@ -164,7 +165,7 @@ class Relay(callbacks.Privmsg):
|
|||||||
abbreviation = privmsgs.getArgs(args)
|
abbreviation = privmsgs.getArgs(args)
|
||||||
self.ircs[abbreviation] = realIrc
|
self.ircs[abbreviation] = realIrc
|
||||||
self.abbreviations[realIrc] = abbreviation
|
self.abbreviations[realIrc] = abbreviation
|
||||||
self.ircstates[realIrc] = irclib.IrcState()
|
self.ircstates[realIrc] = copy.copy(realIrc.state)
|
||||||
self.lastmsg[realIrc] = ircmsgs.ping('this is just a fake message')
|
self.lastmsg[realIrc] = ircmsgs.ping('this is just a fake message')
|
||||||
self.started = True
|
self.started = True
|
||||||
irc.replySuccess()
|
irc.replySuccess()
|
||||||
|
Loading…
Reference in New Issue
Block a user