diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_sslmodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp index 1a7f0670b..3ed40108d 100644 --- a/src/modules/m_sslmodes.cpp +++ b/src/modules/m_sslmodes.cpp @@ -24,7 +24,7 @@ class ModuleSSLModes : public Module virtual void On005Numeric(std::string &output) { - output.insert(output.find(" ", output.find("CHANMODES=", 0)), "z"); + InsertMode(output, "z", 4); } virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) |