Prepare server to incoming split

This commit is contained in:
nemunaire 2014-08-13 17:11:33 +02:00
parent 85981b4d99
commit 3839455f42
7 changed files with 7 additions and 7 deletions

4
bot.py
View File

@ -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"

View File

@ -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

View File

@ -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:

View File

@ -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

View File

@ -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