Implement loading new modules at runtime
This commit is contained in:
@@ -23,7 +23,7 @@ def parseCommand(addr, authed, data):
|
||||
failure("No text was sent")
|
||||
return
|
||||
for i in CommandMap.keys():
|
||||
if data.startswith(i):
|
||||
if spl[0] == i:
|
||||
CommandMap[i](addr, authed, data, obj, spl, success, failure, info, incUsage, length)
|
||||
return
|
||||
incUsage(None)
|
||||
|
||||
Reference in New Issue
Block a user