summaryrefslogtreecommitdiff
path: root/miniircd
diff options
context:
space:
mode:
authordaniel-Jones <daniel@danieljon.es>2017-11-26 13:10:21 +1100
committerdaniel-Jones <daniel@danieljon.es>2017-11-26 13:10:21 +1100
commit7a863708016e4dcc7f35d6aaaee59c544140d646 (patch)
tree12a04b884ba4143c96f2a1c562bb0d0591ce9801 /miniircd
parentb22ef04ac6a19af6f5f18489eba894f3267d7ce3 (diff)
downloadminiircd-7a863708016e4dcc7f35d6aaaee59c544140d646.tar.gz
miniircd-7a863708016e4dcc7f35d6aaaee59c544140d646.zip
small server response change, mainly testing stuff out
Diffstat (limited to 'miniircd')
-rwxr-xr-xminiircd6
1 files changed, 3 insertions, 3 deletions
diff --git a/miniircd b/miniircd
index 0494f75..c7b07ec 100755
--- a/miniircd
+++ b/miniircd
@@ -149,7 +149,7 @@ class Client(object):
self.__handle_command = self.__registration_handler
def get_prefix(self):
- return "%s!%s@%s" % (self.nickname, self.user, self.host)
+ return "%s!%s@%s" % (self.nickname, self.user, "hidden")
prefix = property(get_prefix)
def check_aliveness(self):
@@ -229,7 +229,7 @@ class Client(object):
self.disconnect("Client quit")
return
if self.nickname and self.user:
- self.reply("001 %s :Hi, welcome to IRC" % self.nickname)
+ self.reply("001 %s :Welcome to the #Fun Hub" % self.nickname)
self.reply("002 %s :Your host is %s, running version miniircd-%s"
% (self.nickname, server.name, VERSION))
self.reply("003 %s :This server was created sometime"
@@ -545,7 +545,7 @@ class Client(object):
if user:
self.reply("311 %s %s %s %s * :%s"
% (self.nickname, user.nickname, user.user,
- user.host, user.realname))
+ "hidden", user.realname))
self.reply("312 %s %s %s :%s"
% (self.nickname, user.nickname, server.name,
server.name))