summaryrefslogtreecommitdiff
path: root/src/servers.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-10-22 14:14:40 +0100
committerSadie Powell <sadie@witchery.services>2024-10-22 14:27:30 +0100
commit435ce511962e83a0581accd572dfa4e2c5722ab4 (patch)
tree78147b7be694087752d15bd48dcb75b0a1493f9b /src/servers.cpp
parent57ac7cb4db63dee8e06d696ef6f973c337467040 (diff)
Move nickserv/set/message to a new module, kill options:useprivmsg.
Diffstat (limited to 'src/servers.cpp')
-rw-r--r--src/servers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/servers.cpp b/src/servers.cpp
index ca418aec0..7d4e57770 100644
--- a/src/servers.cpp
+++ b/src/servers.cpp
@@ -328,7 +328,7 @@ bool Server::IsQuitting() const
void Server::Notice(BotInfo *source, const Anope::string &message)
{
- if (Config->UsePrivmsg && Config->DefPrivmsg)
+ if (Config->DefPrivmsg)
IRCD->SendGlobalPrivmsg(source, this, message);
else
IRCD->SendGlobalNotice(source, this, message);