diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-03 12:16:10 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-05-03 12:16:10 +0000 |
commit | 8feb215c20a5e63507ed368ac107dc1782d164ad (patch) | |
tree | b6c0a6c98fbb8ee3c51be88f3d2964e6358a2184 /src/modules | |
parent | 97b48b5e01bb22074ef578bfd35cde3958fc3f53 (diff) |
Copypastafail.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11358 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_banredirect.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_banredirect.cpp b/src/modules/m_banredirect.cpp index 9301bf4d5..8e9319bcf 100644 --- a/src/modules/m_banredirect.cpp +++ b/src/modules/m_banredirect.cpp @@ -127,12 +127,12 @@ class BanRedirect : public ModeWatcher Channel *c = ServerInstance->FindChan(mask[CHAN].c_str()); if (!c) { - source->WriteNumeric(690, "%s :Target channel %s must exist to be set as a redirect.",source->nick.c_str(),parameter.c_str()); + source->WriteNumeric(690, "%s :Target channel %s must exist to be set as a redirect.",source->nick.c_str(),mask[CHAN].c_str()); return false; } else if (c->GetStatus(source) < STATUS_OP) { - source->WriteNumeric(690, "%s :You must be opped on %s to set it as a redirect.",source->nick.c_str(),parameter.c_str()); + source->WriteNumeric(690, "%s :You must be opped on %s to set it as a redirect.",source->nick.c_str(), mask[CHAN].c_str()); return false; } |