From 021bd407f36eb249291b16c44a2b8fbb3bafe557 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Thu, 25 Aug 2011 20:43:19 +0200 Subject: Prepare for version 0.3 --- CHANGES | 8 ++++++++ miniircd | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 3f9ec63..f7dbfbf 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,11 @@ +0.3 2011-08-25 + + * Added --debug flag. + * Added optional logging of channel messages to file. + * Send a 251 message upon registration to please Pidgin. + * Understand but ignore AWAY messages. + * Various code cleanup. + 0.2.0 2003-12-12 * Added switch for specifying a MOTD file. diff --git a/miniircd b/miniircd index 292ac5d..5bb08c3 100755 --- a/miniircd +++ b/miniircd @@ -20,7 +20,7 @@ # # Joel Rosdahl -version = "0.2.0" +VERSION = "0.3" import os import select @@ -157,11 +157,11 @@ class Client(object): if self.nickname and self.user: self.reply("001 %s :Hi, welcome to IRC" % self.nickname) self.reply("002 %s :Your host is %s, running version miniircd-%s" - % (self.nickname, server.name, version)) + % (self.nickname, server.name, VERSION)) self.reply("003 %s :This server was created sometime" % self.nickname) self.reply("004 %s :%s miniircd-%s o o" - % (self.nickname, server.name, version)) + % (self.nickname, server.name, VERSION)) self.reply("251 %s :There are %d users and 0 services on 1 server" % (self.nickname, len(server.clients))) self.send_motd() @@ -657,7 +657,7 @@ def irc_lower(s): def main(argv): op = OptionParser( - version=version, + version=VERSION, description="miniircd is a small and limited IRC server.") op.add_option( "-d", "--daemon", -- cgit v1.2.3