summaryrefslogtreecommitdiff
path: root/modules/botserv/botserv.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-10-22 16:16:32 +0100
committerSadie Powell <sadie@witchery.services>2024-10-22 16:29:22 +0100
commitf1751dcb213b953ff362eda3276e210258a7cdb2 (patch)
treefab818dd75eaafee74d0b80e9d3da3e28aa0244c /modules/botserv/botserv.cpp
parent8b026135492c13ae030b27cb6ec6c5b09131c0bd (diff)
Replace usestrictprivmsg with something actually useful.
Every IRC server we support (other than Bahamut which is probably on the chopping bock) uses UIDs so this setting does nothing. Instead, allow configuring a server-side alias for each service and use that when servicealias is enabled.
Diffstat (limited to 'modules/botserv/botserv.cpp')
-rw-r--r--modules/botserv/botserv.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/botserv/botserv.cpp b/modules/botserv/botserv.cpp
index 85db067d2..4d2ddb0ec 100644
--- a/modules/botserv/botserv.cpp
+++ b/modules/botserv/botserv.cpp
@@ -153,11 +153,11 @@ public:
"It has been created for users that can't host or\n"
"configure a bot, or for use on networks that don't\n"
"allow user bots. Available commands are listed\n"
- "below; to use them, type \002%s%s \037command\037\002. For\n"
+ "below; to use them, type \002%s \037command\037\002. For\n"
"more information on a specific command, type\n"
- "\002%s%s %s \037command\037\002.\n"),
- BotServ->nick.c_str(), Config->StrictPrivmsg.c_str(), BotServ->nick.c_str(),
- Config->StrictPrivmsg.c_str(), BotServ->nick.c_str(), source.command.c_str());
+ "\002%s %s \037command\037\002.\n"),
+ BotServ->nick.c_str(), BotServ->GetQueryCommand().c_str(),
+ BotServ->GetQueryCommand().c_str(), source.command.c_str());
}
return EVENT_CONTINUE;