Skip to content
Snippets Groups Projects
Commit 361b02ae authored by rswindell's avatar rswindell
Browse files

Fix issue reported by Mark Lewis: trim trailing white-space off of each area...

Fix issue reported by Mark Lewis: trim trailing white-space off of each area manager request line. If the requester included any trailing white-space, the commands would not be recognized, e.g.:
  !Unrecognized area-tag or command on 1:3634/12: '+BACKBONE '
parent e020caf1
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ function handle_command(hdr, cmd)
{
var me = hdr.to_net_addr;
var you = hdr.from_net_addr;
cmd = cmd.trimRight();
switch(cmd.toLowerCase()) {
case "%help":
return help_text;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment