Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
wantzel
Commits
2031f09e
Commit
2031f09e
authored
Jul 05, 2016
by
Mindiell
Browse files
Fixed changed_mode reaction.
parent
ab2990f8
Pipeline
#37
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
wantzel.py
View file @
2031f09e
...
...
@@ -200,7 +200,7 @@ class Wantzel(object):
def
mode_changed
(
self
,
user
,
channel
,
flag_set
,
modes
,
args
):
Utils
.
debug
(
"Mode changed : %s %s %s %s %s"
%
(
user
,
channel
,
flag_set
,
modes
,
args
))
if
"o"
in
modes
:
if
"o"
in
modes
and
self
.
irc
.
client
.
nickname
in
args
:
# Cleaning user name
user
=
re
.
search
(
"([^!]*)!"
,
user
).
group
(
1
)
if
flag_set
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment