summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbviktor <bviktor@outlook.com>2012-08-05 19:54:48 -0700
committerbviktor <bviktor@outlook.com>2012-08-05 19:54:48 -0700
commit7bff15a31a1c9b377f3c0bd00e05a1f311134b4d (patch)
tree044486e279530036f115a11d330793408aeaabb2
parent6b383ec1340b706aff3e86f0edfbda4ff0dde778 (diff)
parent74c143a8b7d57da1eea8ba9b3da72ce1dd46e115 (diff)
Merge pull request #41 from flotwig/patch-2
fixed ban message to reflect the correct channel
-rw-r--r--plugins/hextray/callbacks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/hextray/callbacks.cpp b/plugins/hextray/callbacks.cpp
index c7de9626..098cd5bb 100644
--- a/plugins/hextray/callbacks.cpp
+++ b/plugins/hextray/callbacks.cpp
@@ -114,7 +114,7 @@ int event_cb(char *word[], void *userdata)
 			dwInfoFlags = NIIF_WARNING;

 			break;

 		case CHAN_BANNED:

-			_snprintf(szInfo, 512, "Cannot join #%s You are banned.", word[1]);

+			_snprintf(szInfo, 512, "Cannot join %s You are banned.", word[1]);

 			_snprintf(szName, 64, "Banned");

 			dwInfoFlags = NIIF_WARNING;

 			break;