Reformat project
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from twisted.internet.protocol import Protocol, Factory, ClientFactory
|
||||
from twisted.internet.protocol import Protocol, Factory
|
||||
import main
|
||||
from utils.logging.log import *
|
||||
from utils.logging.log import log, warn
|
||||
|
||||
from core.parser import parseCommand
|
||||
|
||||
@@ -9,7 +9,7 @@ class Server(Protocol):
|
||||
def __init__(self, addr):
|
||||
self.addr = addr
|
||||
self.authed = False
|
||||
if main.config["UsePassword"] == False:
|
||||
if main.config["UsePassword"] is False:
|
||||
self.authed = True
|
||||
|
||||
def send(self, data):
|
||||
|
||||
Reference in New Issue
Block a user