Diff

mod_ircd/mod_ircd.lua @ 236:24582ea48471

mod_ircd: Fix "nickname in use" reply
author Matthew Wild <mwild1@gmail.com>
date Thu, 05 Aug 2010 22:23:08 +0100
parent 212:16b76c7b6316
child 276:27c652363874
line wrap: on
line diff
--- a/mod_ircd/mod_ircd.lua	Thu Aug 05 23:09:56 2010 +0200
+++ b/mod_ircd/mod_ircd.lua	Thu Aug 05 22:23:08 2010 +0100
@@ -54,7 +54,7 @@
 function commands.NICK(session, nick)
 	nick = nick:match("^[%w_]+");
 	if nicks[nick] then
-		session.send(":"..session.host.." 433 * The nickname "..nick.." is already in use");
+		session.send(":"..session.host.." 433 * "..nick.." :The nickname "..nick.." is already in use");
 		return;
 	end
 	nicks[nick] = session;