projects
/
srvx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39540c5
)
added unknown command handler (just reply that the command is unknown ^^)
author
pk910
<philipp@zoelle1.de>
Fri, 8 Jul 2011 16:08:59 +0000
(18:08 +0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 8 Jul 2011 16:09:42 +0000
(18:09 +0200)
src/proto-p10.c
patch
|
blob
|
history
diff --git
a/src/proto-p10.c
b/src/proto-p10.c
index b4a0707d3718d801c2b0d9c62064f5f18a8fdee1..e04d65650ceb16da3ad4c4c5db5bf1db4833ac27 100644
(file)
--- a/
src/proto-p10.c
+++ b/
src/proto-p10.c
@@
-1776,6
+1776,10
@@
static CMD_FUNC(cmd_relay)
sprintf(tmp,"%s LR\n",argv[3]);
irc_relay(tmp);
}
+ } else if(strcmp("UC", argv[2]) == 0) {
+ char tmp[MAXLEN];
+ sprintf(tmp,"%s UC %s %s",argv[3],argv[3],argv[4]);
+ irc_relay(tmp);
} else if(strcmp("JA", argv[2]) == 0) {
struct userData *uData;
struct chanNode *cn;