From 0a74b22efc5eb82031a99761ae0e1728b57f0cd4 Mon Sep 17 00:00:00 2001 From: Anselme Date: Mon, 20 Jun 2016 11:30:56 +0200 Subject: [PATCH] fixed kick --- app/punishermodule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/punishermodule.cpp b/app/punishermodule.cpp index 1f8e0d4..c5ffb99 100644 --- a/app/punishermodule.cpp +++ b/app/punishermodule.cpp @@ -14,7 +14,7 @@ bool PunisherModule::messageHandler(Message msg) { if(msg.args.contains(w)) { - answer = QString("KICK %1\r\n").arg(msg.nick); + answer = QString("KICK #%1 %2\r\n").arg(getChan()).arg(msg.nick); return true; } }