This should fix the comsys channels not behaving well.
This commit is contained in:
parent
5bf1461d75
commit
800e84a15e
2 changed files with 7 additions and 2 deletions
|
|
@ -197,12 +197,14 @@ def cmd_cemit(command):
|
|||
return
|
||||
|
||||
eq_args = command.command_argument.split('=', 1)
|
||||
cname = eq_args[0]
|
||||
cmessage = eq_args[1]
|
||||
|
||||
if len(eq_args) != 2:
|
||||
session.msg("You must provide a channel name and a message to emit.")
|
||||
return
|
||||
|
||||
cname = eq_args[0]
|
||||
cmessage = eq_args[1]
|
||||
|
||||
if len(cname) == 0:
|
||||
session.msg("You must provide a channel name to emit to.")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue