]> git.donarmstrong.com Git - infobot.git/blobdiff - src/UserExtra.pl
ord was busted
[infobot.git] / src / UserExtra.pl
index c8ec404a33f616fec281f4354006e8483eda552a..5252b3dcee0acb2ff9a5d73855593778c73fc788 100644 (file)
@@ -536,7 +536,7 @@ sub userCommands {
            }
        }
 
-       &performReply( sprintf("'%s' is ascii %s", $arg, ord $1) );
+       &performReply( sprintf("'%s' is ascii %s", $arg, ord $arg) );
        return;
     }