summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2011-08-25 20:43:19 +0200
committerJoel Rosdahl <joel@rosdahl.net>2011-08-25 20:43:19 +0200
commit021bd407f36eb249291b16c44a2b8fbb3bafe557 (patch)
treeac545ee356090893d2f450ed9ac35e4f83d157cb
parent55776137a399a11cb831c31efe4818c59ae9b563 (diff)
downloadminiircd-021bd407f36eb249291b16c44a2b8fbb3bafe557.tar.gz
miniircd-021bd407f36eb249291b16c44a2b8fbb3bafe557.zip
Prepare for version 0.3
-rw-r--r--CHANGES8
-rwxr-xr-xminiircd8
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 <joel@rosdahl.net>
-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",