Prepare server to incoming split
This commit is contained in:
parent
85981b4d99
commit
3839455f42
4
bot.py
4
bot.py
@ -27,8 +27,8 @@ import consumer
|
|||||||
import event
|
import event
|
||||||
import hooks
|
import hooks
|
||||||
from networkbot import NetworkBot
|
from networkbot import NetworkBot
|
||||||
from IRCServer import IRCServer
|
from server.IRC import IRCServer
|
||||||
from DCC import DCC
|
from server.DCC import DCC
|
||||||
import response
|
import response
|
||||||
|
|
||||||
ID_letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
ID_letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||||
|
@ -23,7 +23,7 @@ import traceback
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
import bot
|
import bot
|
||||||
from DCC import DCC
|
from server.DCC import DCC
|
||||||
from message import Message
|
from message import Message
|
||||||
import response
|
import response
|
||||||
import server
|
import server
|
||||||
|
@ -27,7 +27,7 @@ else:
|
|||||||
|
|
||||||
import xmlparser as msf
|
import xmlparser as msf
|
||||||
import message
|
import message
|
||||||
import IRCServer
|
from server.IRC import IRCServer
|
||||||
|
|
||||||
SMILEY = list()
|
SMILEY = list()
|
||||||
CORRECTIONS = list()
|
CORRECTIONS = list()
|
||||||
@ -111,7 +111,7 @@ def speak(endstate):
|
|||||||
talkEC = 1
|
talkEC = 1
|
||||||
|
|
||||||
|
|
||||||
class Server(IRCServer.IRCServer):
|
class Server(IRCServer):
|
||||||
def treat_msg(self, line, private = False):
|
def treat_msg(self, line, private = False):
|
||||||
global stopSpk, talkEC, g_queue
|
global stopSpk, talkEC, g_queue
|
||||||
try:
|
try:
|
||||||
|
@ -22,7 +22,7 @@ import shlex
|
|||||||
import urllib.parse
|
import urllib.parse
|
||||||
import zlib
|
import zlib
|
||||||
|
|
||||||
from DCC import DCC
|
from server.DCC import DCC
|
||||||
import hooks
|
import hooks
|
||||||
from response import Response
|
from response import Response
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ import threading
|
|||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from channel import Channel
|
from channel import Channel
|
||||||
from DCC import DCC
|
from server.DCC import DCC
|
||||||
from hooks import Hook
|
from hooks import Hook
|
||||||
import message
|
import message
|
||||||
import server
|
import server
|
Loading…
Reference in New Issue
Block a user