summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmodules/nick4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/nick b/modules/nick
index b60a7433..5ed1e9d9 100755
--- a/modules/nick
+++ b/modules/nick
@@ -5,6 +5,6 @@ case "$1" in
(*)
. /tmp/noise/$NOISE_pid/environment
nick="${chat_nick-$NOISE_pid}"
- echo /send_to_channel $nick is now known as $2 > $NOISE_linefeed
- echo /set chat_nick $2 >$NOISE_linefeed;;
+ echo /send_to_channel $chat_channel $nick is now known as $1 > $NOISE_linefeed
+ echo /set chat_nick $1 >$NOISE_linefeed;;
esac