Commit Graph

17 Commits (master)

Author SHA1 Message Date
Kim Alvefur 98922d54b1 plugins: Prefix module imports with prosody namespace 3 years ago
Kim Alvefur ad15946ae3 mod_motd: Remove unused variable [luacheck] 7 years ago
Kim Alvefur 30ab1bca86 mod_motd: Remove redundant conditions 7 years ago
Kim Alvefur 0d216b46fd mod_motd: Use initial presence event (saves some checking) 9 years ago
Kim Alvefur f41583535f mod_motd: Strip indentation only, leave multiple newlines 12 years ago
Florian Zeitz 1d833bb807 Remove all trailing whitespace 13 years ago
Kim Alvefur 91cc88b338 mod_motd, mod_register, mod_private, mod_http_errors, mod_admin_adhoc: Remove unused imports 13 years ago
Kim Alvefur da0876f26f mod_motd: Don't trigger on directed presence or stanzas from s2s. 13 years ago
Kim Alvefur df70fc2508 mod_announce, mod_motd, mod_pubsub, mod_register, mod_watchregistrations, mod_welcome: Use module:send() instead of core_*_stanza() 14 years ago
Matthew Wild 51ab962e55 mod_motd: Use presence/bare to catch a client's initial presence and send the MOTD then (fixes #282) 14 years ago
Matthew Wild 615325cf15 mod_motd: Send only to resource coming online, not the user's bare JID (fixes #282) 14 years ago
Matthew Wild e31a74b0ee mod_motd: Update to use module:get_option_string 14 years ago
Matthew Wild 4bb6deaaa3 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