Some code cleanup and clarification in comments.

This commit is contained in:
Griatch 2009-08-28 01:33:15 +00:00
parent 2640bd057a
commit 4bd567386f
12 changed files with 351 additions and 66 deletions

View file

@ -154,6 +154,15 @@ class EvenniaService(service.Service):
svc.setServiceParent(self.service_collection)
imc2_events.add_events()
if settings.IRC_ENABLED:
#Connect to the IRC network.
from src.irc.connection import connect_to_IRC
connect_to_IRC(settings.IRC_NETWORK,
settings.IRC_PORT,
settings.IRC_CHANNEL,
settings.IRC_NICKNAME)
application = service.Application('Evennia')
mud_service = EvenniaService()
mud_service.start_services(application)