mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-04 08:34:11 +01:00
Ooops. Forgot to register configs.
This commit is contained in:
parent
afbeb4d582
commit
9b2b71a5e1
@ -26,8 +26,13 @@ def isDCC(msg):
|
|||||||
return msg.command == 'PRIVMSG' and msg.args[1][:5] == '\x01DCC '
|
return msg.command == 'PRIVMSG' and msg.args[1][:5] == '\x01DCC '
|
||||||
|
|
||||||
|
|
||||||
|
conf.registerGroup(conf.supybot.protocols, 'dcc')
|
||||||
conf.registerGlobalValue(conf.supybot.protocols.dcc, 'timeout',
|
conf.registerGlobalValue(conf.supybot.protocols.dcc, 'timeout',
|
||||||
registry.Integer(120, "Timeout on DCC sockets"))
|
registry.Integer(120, "Timeout on DCC sockets"))
|
||||||
|
conf.registerGlobalValue(conf.supybot.protocols.dcc, 'packetSize',
|
||||||
|
registry.Integer(1024, "Size of packet to send"))
|
||||||
|
conf.registerGlobalValue(conf.supybot.protocols.dcc, 'chatLineLength',
|
||||||
|
registry.Integer(1024, "Max size of line to read"))
|
||||||
|
|
||||||
# ---- Out Handlers ----
|
# ---- Out Handlers ----
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user