Commit Graph

16 Commits (6e982fc011373f7f2bd55e318efee5aba41ef97e)

Author SHA1 Message Date
Kim Alvefur 7125a0dd10 mod_motd: Remove unused variable [luacheck] 7 years ago
Kim Alvefur 9fa98ab579 mod_motd: Remove redundant conditions 7 years ago
Kim Alvefur efc2a518d6 mod_motd: Use initial presence event (saves some checking) 9 years ago
Kim Alvefur 279b6cb27f mod_motd: Strip indentation only, leave multiple newlines 12 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Kim Alvefur f004eb9e48 mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports 13 years ago
Kim Alvefur 7b8cd854ff mod_motd: Don't trigger on directed presence or stanzas from s2s. 13 years ago
Kim Alvefur 4330e1308d mod_announce, mod_motd, mod_pubsub, mod_register, mod_watchregistrations, mod_welcome: Use module:send() instead of core_*_stanza() 14 years ago
Matthew Wild d74cf643a6 mod_motd: Use presence/bare to catch a client's initial presence and send the MOTD then (fixes #282) 14 years ago
Matthew Wild 8af73c6e8a mod_motd: Send only to resource coming online, not the user's bare JID (fixes #282) 14 years ago
Matthew Wild ae954b93af mod_motd: Update to use module:get_option_string 14 years ago
Matthew Wild af932c4239 mod_motd: Send no message (instead of 'blank') if no message is set in the config (thanks medics) 14 years ago
Matthew Wild df5bec6e97 mod_motd: Process value to strip any indentation from the config 15 years ago
Jeff Mitchell ebe44ba757 Add jid support for motd 16 years ago
Jeff Mitchell 58a4cad9f2 Add motd plugin, giving text to a user on each login. 16 years ago