Skip to content

Commit

Permalink
irc: Fixed a small bug where the relay channel comparison wasn't case…
Browse files Browse the repository at this point in the history
…-insensitive for the .info command.
  • Loading branch information
MinoMino committed Dec 7, 2015
1 parent 11cf17d commit 9b9070f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irc.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def handle_player_disconnect(self, player, reason):

def handle_msg(self, irc, user, channel, msg):
cmd = msg[0].lower()
if channel == self.relay:
if channel.lower() == self.relay.lower():
if cmd in (".players", ".status", ".info", ".map", ".server"):
self.server_report(self.relay)
elif self.is_relaying:
Expand Down

0 comments on commit 9b9070f

Please sign in to comment.