summaryrefslogtreecommitdiff
path: root/miniircd
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 /miniircd
parent55776137a399a11cb831c31efe4818c59ae9b563 (diff)
downloadminiircd-021bd407f36eb249291b16c44a2b8fbb3bafe557.tar.gz
miniircd-021bd407f36eb249291b16c44a2b8fbb3bafe557.zip
Prepare for version 0.3
Diffstat (limited to 'miniircd')
-rwxr-xr-xminiircd8
1 files changed, 4 insertions, 4 deletions
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",