Fix DCC connections
This commit is contained in:
parent
a70ff958fd
commit
6c6a11b80c
3 changed files with 6 additions and 103 deletions
|
|
@ -23,7 +23,7 @@ import threading
|
|||
import traceback
|
||||
|
||||
import channel
|
||||
import DCC
|
||||
from DCC import DCC
|
||||
import message
|
||||
import server
|
||||
import xmlparser
|
||||
|
|
@ -215,7 +215,7 @@ class IRCServer(server.Server):
|
|||
if msg is not None and to is not None:
|
||||
realname = to.split("!")[1]
|
||||
if realname not in self.dcc_clients.keys():
|
||||
d = dcc.DCC(self, to)
|
||||
d = DCC(self, to)
|
||||
self.dcc_clients[realname] = d
|
||||
self.dcc_clients[realname].send_dcc(msg)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue