summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-04-02 14:43:28 +0100
committerPeter Powell <petpow@saberuk.com>2019-04-04 12:27:56 +0100
commit9ea8ecfaf395955a4e58c743c2f9e35a26528039 (patch)
tree112d0e5d1f81b07a61782a68439adb1dda6a99cd /src/modules
parent66ecf04088b747c00e7fdf8380fbece7848018be (diff)
Use SQUERY instead of PRIVMSG in alias/passforward config.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_passforward.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_passforward.cpp b/src/modules/m_passforward.cpp
index 37efec02b..2eaabe247 100644
--- a/src/modules/m_passforward.cpp
+++ b/src/modules/m_passforward.cpp
@@ -35,7 +35,7 @@ class ModulePassForward : public Module
ConfigTag* tag = ServerInstance->Config->ConfValue("passforward");
nickrequired = tag->getString("nick", "NickServ");
forwardmsg = tag->getString("forwardmsg", "NOTICE $nick :*** Forwarding PASS to $nickrequired");
- forwardcmd = tag->getString("cmd", "PRIVMSG $nickrequired :IDENTIFY $pass");
+ forwardcmd = tag->getString("cmd", "SQUERY $nickrequired :IDENTIFY $pass");
}
void FormatStr(std::string& result, const std::string& format, const LocalUser* user)