From d24ce8bf589c4532b1e1bd577a060a44328f38aa Mon Sep 17 00:00:00 2001
From: mcmlxxix <>
Date: Fri, 22 Oct 2010 22:47:55 +0000
Subject: [PATCH] minor fixes

---
 exec/ircbots/info/info_commands.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/exec/ircbots/info/info_commands.js b/exec/ircbots/info/info_commands.js
index 7be24f12b4..20e81f2e5e 100644
--- a/exec/ircbots/info/info_commands.js
+++ b/exec/ircbots/info/info_commands.js
@@ -7,7 +7,7 @@ Bot_Commands["DEF"].command = function (target,onick,ouh,srv,lvl,cmd) {
 	}
 	var xmldef=define(cmd.shift(),"wn");
 	if(!xmldef) {
-		srv.o(target, "word not found: " + word);
+		srv.o(target, "word not found: " + cmd[0]);
 		return;
 	} 
 	var word=xmldef.Word;
@@ -47,7 +47,7 @@ Bot_Commands["SYN"].command = function (target,onick,ouh,srv,lvl,cmd) {
 	}
 	var xmldef=define(cmd.shift(),"wn");
 	if(!xmldef) {
-		srv.o(target, "no synonyms found: " + word);
+		srv.o(target, "no synonyms found: " + cmd[0]);
 		return;
 	} 
 
@@ -76,7 +76,7 @@ Bot_Commands["INFO"].command = function (target,onick,ouh,srv,lvl,cmd) {
 	}
 	var xmldef=define(cmd.shift(),"wn");
 	if(!xmldef) {
-		srv.o(target, "no usage examples found: " + word);
+		srv.o(target, "no usage examples found: " + cmd[0]);
 		return;
 	} 
 	var word=xmldef.Word;
-- 
GitLab