Changeset

236:24582ea48471

mod_ircd: Fix "nickname in use" reply
author Matthew Wild <mwild1@gmail.com>
date Thu, 05 Aug 2010 22:23:08 +0100
parents 235:10a3cca32797
children 237:d900be0dee3e
files mod_ircd/mod_ircd.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;