projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c0ca108
)
fixed last commit #4
author
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 22:43:50 +0000
(
00:43
+0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 22:43:50 +0000
(
00:43
+0200)
modcmd.c
patch
|
blob
|
history
diff --git
a/modcmd.c
b/modcmd.c
index cb56f086c2e080fb1b73f771d531dd5be02cb77f..5e5439201699e24c04b90bb2432bdc75fe64d9d1 100644
(file)
--- a/
modcmd.c
+++ b/
modcmd.c
@@
-11,7
+11,7
@@
struct trigger_callback {
trigger_callback_t *func;
struct trigger_callback *next;
trigger_callback_t *func;
struct trigger_callback *next;
-}
+}
;
static struct cmd_binding **cmd_binds;
static struct cmd_function *cmd_functions = NULL;
static struct cmd_binding **cmd_binds;
static struct cmd_function *cmd_functions = NULL;
@@
-25,7
+25,7
@@
static int get_binds_index(char first_char) {
}
struct ClientSocket* get_prefered_bot(int botid) {
}
struct ClientSocket* get_prefered_bot(int botid) {
- struct ClientSocket *client
, *source = NULL
;
+ struct ClientSocket *client;
for(client = getBots(SOCKET_FLAG_READY, NULL); client; client = getBots(SOCKET_FLAG_READY, client)) {
if(client->botid == botid && (client->flags & SOCKET_FLAG_PREFERED))
return client;
for(client = getBots(SOCKET_FLAG_READY, NULL); client; client = getBots(SOCKET_FLAG_READY, client)) {
if(client->botid == botid && (client->flags & SOCKET_FLAG_PREFERED))
return client;