Skip to content
Snippets Groups Projects
Commit 11e88914 authored by deuce's avatar deuce
Browse files

Sometimes you get two spaces.

parent 73325767
No related branches found
No related tags found
No related merge requests found
......@@ -141,7 +141,7 @@ Bot_Commands["FORECAST"].command = function (target,onick,ouh,srv,lvl,cmd) {
str += ' (Provided by Weather Underground, Inc.)';
var m;
while(m=str.match(/^(.*?\. )[^\.]+:/)) {
while(m=str.match(/^(.*?\. +)[^\.]+:/)) {
srv.o(target, m[1]);
str=str.substr(m[1].length);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment