diff options
Diffstat (limited to 'modules/commands/bs_set.cpp')
-rw-r--r-- | modules/commands/bs_set.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/bs_set.cpp b/modules/commands/bs_set.cpp index 61839ab1e..e169f3c83 100644 --- a/modules/commands/bs_set.cpp +++ b/modules/commands/bs_set.cpp @@ -35,7 +35,7 @@ class CommandBSSet : public Command " \n" "Available options:")); Anope::string this_name = source.command; - for (BotInfo::command_map::const_iterator it = source.owner->commands.begin(), it_end = source.owner->commands.end(); it != it_end; ++it) + for (CommandInfo::map::const_iterator it = source.service->commands.begin(), it_end = source.service->commands.end(); it != it_end; ++it) { const Anope::string &c_name = it->first; const CommandInfo &info = it->second; @@ -50,7 +50,7 @@ class CommandBSSet : public Command } } source.Reply(_("Type \002%s%s HELP SET \037option\037\002 for more information on a\n" - "particular option."), Config->UseStrictPrivMsgString.c_str(), source.owner->nick.c_str()); + "particular option."), Config->UseStrictPrivMsgString.c_str(), source.service->nick.c_str()); return true; } |