3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-29 14:12:39 +01:00

classes, relay, ircs2s_c: tweak/remove various debug statements

This commit is contained in:
James Lu 2017-06-29 23:18:52 -07:00
parent 8e9a99f90c
commit 0c7fb861f1
3 changed files with 1 additions and 3 deletions

View File

@ -590,7 +590,6 @@ class PyLinkNetworkCoreWithUtils(PyLinkNetworkCore):
The target can be either a channel or a user; this is handled automatically."""
usermodes = not utils.isChannel(target)
log.debug('(%s) Using usermodes for this query? %s', self.name, usermodes)
try:
if usermodes:

View File

@ -480,7 +480,6 @@ def initialize_channel(irc, channel):
irc.topicBurst(irc.sid, channel, topic)
# Send our users and channel modes to the other nets
log.debug('(%s) relay.initialize_channel: joining our (%s) users: %s', irc.name, remotenet, irc.channels[channel].users)
relay_joins(irc, channel, irc.channels[channel].users, irc.channels[channel].ts)
if 'pylink' in world.services:

View File

@ -186,7 +186,7 @@ class IRCS2SProtocol(IRCCommonProtocol):
raw_command = args[1].upper()
args = args[2:]
log.debug('(%s) Found message sender as %s', self.name, sender)
log.debug('(%s) Found message sender as %s, raw_command=%r, args=%r', self.name, sender, raw_command, args)
# For P10, convert the command token into a regular command, if present.
command = self.COMMAND_TOKENS.get(raw_command, raw_command)