Software /
code /
prosody-modules
Comparison
mod_ircd/mod_ircd.in.lua @ 495:1a71e0e21a29
mod_ircd: added USERHOST placeholder.
author | Marco Cirillo <maranda@lightwitch.org> |
---|---|
date | Mon, 05 Dec 2011 04:08:11 +0000 |
parent | 491:5b3db688213d |
child | 496:ceeb8b3056de |
comparison
equal
deleted
inserted
replaced
494:376c4a90249c | 495:1a71e0e21a29 |
---|---|
333 if session.username and session.nick then -- send MOTD | 333 if session.username and session.nick then -- send MOTD |
334 send_motd(session); | 334 send_motd(session); |
335 end | 335 end |
336 end | 336 end |
337 | 337 |
338 function commands.USERHOST(session, params) -- Empty for now | |
339 end | |
340 | |
338 local function mode_map(am, rm, nicks) | 341 local function mode_map(am, rm, nicks) |
339 local rnick; | 342 local rnick; |
340 local c_modes; | 343 local c_modes; |
341 c_modes = aff_modemap[am]..role_modemap[rm] | 344 c_modes = aff_modemap[am]..role_modemap[rm] |
342 rnick = string.rep(nicks.." ", c_modes:len()) | 345 rnick = string.rep(nicks.." ", c_modes:len()) |