]> git.donarmstrong.com Git - infobot.git/commitdiff
ord was busted
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 30 Dec 2003 20:30:08 +0000 (20:30 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 30 Dec 2003 20:30:08 +0000 (20:30 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@914 c11ca15a-4712-0410-83d8-924469b57eb5

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;
     }