Changeset

472:f3bd98f3a3f8

mod_ircd: Toxic MattJ's artifact removed.
author Marco Cirillo <maranda@lightwitch.org>
date Wed, 02 Nov 2011 00:03:59 +0000
parents 471:fffac0eef024
children 473:99b246b37809
files mod_ircd/mod_ircd.in.lua
diffstat 1 files changed, 2 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/mod_ircd/mod_ircd.in.lua	Tue Nov 01 23:56:56 2011 +0000
+++ b/mod_ircd/mod_ircd.in.lua	Wed Nov 02 00:03:59 2011 +0000
@@ -255,7 +255,7 @@
 	
 	session.send{from = muc_server, "001", nick, "Welcome in the IRC to MUC XMPP Gateway, "..nick};
 	session.send{from = muc_server, "002", nick, "Your host is "..muc_server.." running Prosody "..prosody.version};
-	session.send{from = muc_server, "003", nick, "This server was created: "..os.date(nil, prosody.start_time)}
+	session.send{from = muc_server, "003", nick, "This server was created the "..os.date(nil, prosody.start_time)}
 	session.send{from = muc_server, "004", nick, table.concat({muc_server, "mod_ircd(alpha-0.8)", "i", "aoqv"}, " ")};
 	session.send{from = muc_server, "375", nick, "- "..muc_server.." Message of the day -"};
 	session.send{from = muc_server, "372", nick, "-"};
@@ -474,15 +474,7 @@
 end
 
 function commands.MODE(session, args) -- FIXME
-	local channel, target = unpack(args);
-	if target then
-		-- do stuff?
-		--room:set_affiliation(...)
-		session.send{from=muc_server, "324", session.nick, channel, "+i"}
-	else
-		-- What's 324? And +J ?
-		session.send{from=muc_server, "324", session.nick, channel, "+J"}
-	end
+	-- emptied for the time being, until something sane which works is available.
 end
 
 function commands.QUIT(session, args)