- make "nickname in use" message more verbose: add session
authorAndreas Scherbaum <andreas@scherbaum.biz>
Sun, 26 Feb 2012 13:46:06 +0000 (14:46 +0100)
committerAndreas Scherbaum <andreas@scherbaum.biz>
Sun, 26 Feb 2012 13:46:06 +0000 (14:46 +0100)
docbot.pl

index cf2764f3a526308ef440b0a209d7ddf3373cf511..4d41c88c08163af7da1b31b74d665e2a445b273f 100755 (executable)
--- a/docbot.pl
+++ b/docbot.pl
@@ -1873,7 +1873,7 @@ sub on_nickused {
 
     # extract the nickname from the error message
     $nick_name =~ s/^(.+?) :Nickname is already in use./$1/;
-    print_msg("nickname ($nick_name) not available", INFO);
+    print_msg("nickname ($nick_name) not available, session: $session", INFO);
 
 
     # only try to change the nickname, if the session is not logged in