Software /
code /
prosody-modules
Comparison
mod_ircd/mod_ircd.in.lua @ 496:ceeb8b3056de
mod_ircd: added channel modes' prefix declaration as some irc clients parse those to detect which mapping to use.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Mon, 05 Dec 2011 05:00:28 +0000 |
parent | 495:1a71e0e21a29 |
child | 497:94756b0657b4 |
comparison
equal
deleted
inserted
replaced
495:1a71e0e21a29 | 496:ceeb8b3056de |
---|---|
255 local nick = session.nick; | 255 local nick = session.nick; |
256 session.send{from = muc_server, "001", nick, "Welcome in the IRC to MUC XMPP Gateway, "..nick}; | 256 session.send{from = muc_server, "001", nick, "Welcome in the IRC to MUC XMPP Gateway, "..nick}; |
257 session.send{from = muc_server, "002", nick, "Your host is "..muc_server.." running Prosody "..prosody.version}; | 257 session.send{from = muc_server, "002", nick, "Your host is "..muc_server.." running Prosody "..prosody.version}; |
258 session.send{from = muc_server, "003", nick, "This server was created the "..os.date(nil, prosody.start_time)} | 258 session.send{from = muc_server, "003", nick, "This server was created the "..os.date(nil, prosody.start_time)} |
259 session.send{from = muc_server, "004", nick, table.concat({muc_server, "mod_ircd(alpha-0.8)", "i", "aoqv"}, " ")}; | 259 session.send{from = muc_server, "004", nick, table.concat({muc_server, "mod_ircd(alpha-0.8)", "i", "aoqv"}, " ")}; |
260 session.send((":%s %s %s %s :%s"):format(muc_server, "005", nick, "CHANTYPES=# PREFIX=(qaov)~&@+", "are supported by this server")); | |
261 session.send((":%s %s %s %s :%s"):format(muc_server, "005", nick, "STATUSMSG=~&@+", "are supported by this server")); | |
260 session.send{from = muc_server, "375", nick, "- "..muc_server.." Message of the day -"}; | 262 session.send{from = muc_server, "375", nick, "- "..muc_server.." Message of the day -"}; |
261 session.send{from = muc_server, "372", nick, "-"}; | 263 session.send{from = muc_server, "372", nick, "-"}; |
262 session.send{from = muc_server, "372", nick, "- Please be warned that this is only a partial irc implementation,"}; | 264 session.send{from = muc_server, "372", nick, "- Please be warned that this is only a partial irc implementation,"}; |
263 session.send{from = muc_server, "372", nick, "- it's made to facilitate users transiting away from irc to XMPP."}; | 265 session.send{from = muc_server, "372", nick, "- it's made to facilitate users transiting away from irc to XMPP."}; |
264 session.send{from = muc_server, "372", nick, "-"}; | 266 session.send{from = muc_server, "372", nick, "-"}; |