summaryrefslogtreecommitdiff
path: root/modules/botserv/control.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-01-27 08:40:26 -0500
committerAdam <Adam@anope.org>2017-01-27 08:40:26 -0500
commit9ad06f49bbb3824139b0c0ee0a74898a18c8f735 (patch)
tree618a4f0e173166e6f966a7cce78f06c3c1c3299f /modules/botserv/control.cpp
parent16ca76c2e7ab287e480185fbb03a0bb438351eda (diff)
Store CommandInfo in CommandSource instead of just command/permission
Diffstat (limited to 'modules/botserv/control.cpp')
-rw-r--r--modules/botserv/control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/botserv/control.cpp b/modules/botserv/control.cpp
index 1785e65e9..6a8edc200 100644
--- a/modules/botserv/control.cpp
+++ b/modules/botserv/control.cpp
@@ -155,7 +155,7 @@ class CommandBSAct : public Command
"Example:\n"
" {command} #anope slaps Cronus\n"
" Shows the assigned service bot \"slapping\" Cronus."),
- "command"_kw = source.command);
+ "command"_kw = source.GetCommand());
return true;
}
};