summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorshackspace e.V <shack@shack.(none)>2010-05-07 04:31:49 +0200
committershackspace e.V <shack@shack.(none)>2010-05-07 04:33:07 +0200
commit4830460590cf013cb79df8d04b96ebaf725db6af (patch)
tree1ee185f228d1a359a978e3f8aec4af53e97e964b /modules
parent5664f6beafe6a7796835dc1c5be7bac4a0c4aa65 (diff)
nick: fixed not telling others, fixed not working AT ALL
Diffstat (limited to 'modules')
-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