mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Move IRC logging functions to ircutils
This commit is contained in:
parent
9755e7a825
commit
13f68a1760
2 changed files with 7 additions and 7 deletions
|
@ -18,7 +18,7 @@ import time
|
|||
import string
|
||||
import base64
|
||||
import tipbot.config as config
|
||||
from tipbot.log import log_error, log_warn, log_info, log_log, log_IRCSEND, log_IRCRECV
|
||||
from tipbot.log import log, log_error, log_warn, log_info, log_log
|
||||
|
||||
irc_line_delay = 0
|
||||
irc = None
|
||||
|
@ -38,6 +38,12 @@ irc_quitting = False
|
|||
userstable=dict()
|
||||
registered_users=set()
|
||||
|
||||
def log_IRCRECV(msg):
|
||||
log("IRCRECV",msg)
|
||||
|
||||
def log_IRCSEND(msg):
|
||||
log("IRCSEND",msg)
|
||||
|
||||
def SendIRC(msg):
|
||||
global last_send_time, current_send_delay
|
||||
|
||||
|
|
|
@ -27,9 +27,3 @@ def log_info(msg):
|
|||
def log_log(msg):
|
||||
log("LOG",msg)
|
||||
|
||||
def log_IRCRECV(msg):
|
||||
log("IRCRECV",msg)
|
||||
|
||||
def log_IRCSEND(msg):
|
||||
log("IRCSEND",msg)
|
||||
|
||||
|
|
Loading…
Reference in a new issue