summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-05 02:12:29 +0200
committerattilamolnar <attilamolnar@hush.com>2012-07-07 15:57:35 +0200
commitfeb937edf676fa8bfd6f74dbe5fbdf218b25bbe2 (patch)
tree79eae4e4d5ccaf5f30dd13edf3137675164065f8 /src/modules
parent9c5629085ae4914f9db514ca6fbd94e8d58c6f31 (diff)
m_shun Display shun target correctly in the error message when adding a new shun and it exists
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_shun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index fe1c41162..197bbc1bf 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -158,7 +158,7 @@ class CommandShun : public Command
else
{
delete r;
- user->WriteServ("NOTICE %s :*** Shun for %s already exists", user->nick.c_str(), expr.c_str());
+ user->WriteServ("NOTICE %s :*** Shun for %s already exists", user->nick.c_str(), target.c_str());
return CMD_FAILURE;
}
}