projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
969478b
)
Hand-apply commit e58e28903371ef25d505498b7072e87037fca695 from 0.73-development
author
Ari Johnson
<ari@theari.com>
Mon, 18 Jul 2011 21:46:10 +0000
(17:46 -0400)
committer
Ari Johnson
<ari@theari.com>
Mon, 18 Jul 2011 21:46:10 +0000
(17:46 -0400)
src/funmisc.c
patch
|
blob
|
history
diff --git
a/src/funmisc.c
b/src/funmisc.c
index 87807c24959174ce646818cf35db07d79b074162..8353cd4b979787facc8021694644b94de05da535 100644
(file)
--- a/
src/funmisc.c
+++ b/
src/funmisc.c
@@
-847,7
+847,8
@@
FUNCTION(fun_signal) {
if(qsig == QID_FALSE) {
safe_str("#-1 INVALID SIGNAL", buff, bp);
return;
- } else if(qsig == QID_TIME && (!*args[2] || atoi(args[2]) < 0)) {
+ } else if(qsig == QID_TIME && (!args[2] || !*args[2] ||
+ atoi(args[2]) < 0)) {
safe_str("#-1 INVALID TIME ARGUMENT", buff, bp);
return;
}