Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Alirzaev <zl29ah@gmail.com>2019-01-30 11:24:51 +0300
committerJohn Smith <mrdoctorwho@gmail.com>2019-01-30 11:24:51 +0300
commitf53219762ba2732e285abf45e0254737e03ab516 (patch)
treec39fbc85cb54f4535c98babe3bb17fc24ada21bf
parent596e35a3c13d1ee102e8dc0707427947843306d2 (diff)
mod_groupchat_prs: drop the misleading leave message (#222)
-rw-r--r--modules/mod_groupchat_prs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mod_groupchat_prs.py b/modules/mod_groupchat_prs.py
index 88486b6..a0d7320 100644
--- a/modules/mod_groupchat_prs.py
+++ b/modules/mod_groupchat_prs.py
@@ -70,7 +70,7 @@ def handleChatPresences(source, prs):
if (time.gmtime().tm_mon, time.gmtime().tm_mday) == (4, 1):
setAffiliation(source, "outcast", jid, reason=_("Get the hell outta here!"))
else:
- leaveChat(source, jid, _("I am not welcomed here"))
+ leaveChat(source, jid)
if (prs.getRole(), prs.getAffiliation()) == ("moderator", "owner"):
if jid != TransportID: