Skip to content
Snippets Groups Projects
Commit 166a461e authored by deuce's avatar deuce
Browse files

Fix messages in catch() blocks (should never be seen).

parent f9818a4c
Branches
Tags
No related merge requests found
...@@ -230,7 +230,7 @@ Bot_Commands["CALLSIGN"].command = function (target,onick,ouh,srv,lvl,cmd) { ...@@ -230,7 +230,7 @@ Bot_Commands["CALLSIGN"].command = function (target,onick,ouh,srv,lvl,cmd) {
matched=USSpecialEvent(callsign,srv,target); matched=USSpecialEvent(callsign,srv,target);
} }
catch(e) { catch(e) {
srv.o(target, "Failed to look up Canadian Callsign: "+e); srv.o(target, "Failed to look up US Special Event Callsign: "+e);
} }
} }
if(!matched && callsign.search(/(A[A-L]|K|N|W)/)==0) { if(!matched && callsign.search(/(A[A-L]|K|N|W)/)==0) {
...@@ -238,7 +238,7 @@ Bot_Commands["CALLSIGN"].command = function (target,onick,ouh,srv,lvl,cmd) { ...@@ -238,7 +238,7 @@ Bot_Commands["CALLSIGN"].command = function (target,onick,ouh,srv,lvl,cmd) {
matched=USCallsign(callsign,srv,target); matched=USCallsign(callsign,srv,target);
} }
catch(e) { catch(e) {
srv.o(target, "Failed to look up Canadian Callsign: "+e); srv.o(target, "Failed to look up US Callsign: "+e);
} }
} }
if(!matched) { if(!matched) {
...@@ -246,7 +246,7 @@ Bot_Commands["CALLSIGN"].command = function (target,onick,ouh,srv,lvl,cmd) { ...@@ -246,7 +246,7 @@ Bot_Commands["CALLSIGN"].command = function (target,onick,ouh,srv,lvl,cmd) {
matched=HamcallCallsign(callsign, srv, target); matched=HamcallCallsign(callsign, srv, target);
} }
catch(e) { catch(e) {
srv.o(target, "Failed to look up Canadian Callsign: "+e); srv.o(target, "Failed to look up Callsign on HamCall: "+e);
} }
} }
if(!matched) { if(!matched) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment