projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2b73d00
)
fixed last commit #2
author
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 22:38:25 +0000
(
00:38
+0200)
committer
pk910
<philipp@zoelle1.de>
Fri, 12 Aug 2011 22:38:25 +0000
(
00:38
+0200)
modcmd.c
patch
|
blob
|
history
modcmd.h
patch
|
blob
|
history
diff --git
a/modcmd.c
b/modcmd.c
index bd39a47bf43455ac15a125e99813ee2181f0df80..cb56f086c2e080fb1b73f771d531dd5be02cb77f 100644
(file)
--- a/
modcmd.c
+++ b/
modcmd.c
@@
-24,7
+24,7
@@
static int get_binds_index(char first_char) {
return 26;
}
return 26;
}
-struct
* ClientSocket
get_prefered_bot(int botid) {
+struct
ClientSocket*
get_prefered_bot(int botid) {
struct ClientSocket *client, *source = NULL;
for(client = getBots(SOCKET_FLAG_READY, NULL); client; client = getBots(SOCKET_FLAG_READY, client)) {
if(client->botid == botid && (client->flags & SOCKET_FLAG_PREFERED))
struct ClientSocket *client, *source = NULL;
for(client = getBots(SOCKET_FLAG_READY, NULL); client; client = getBots(SOCKET_FLAG_READY, client)) {
if(client->botid == botid && (client->flags & SOCKET_FLAG_PREFERED))
diff --git
a/modcmd.h
b/modcmd.h
index 673f74c92716c9c1c1b2a3509b67539d843da911..8dc866be1a03ac2e57bca0a3c8d7040d34a57be4 100644
(file)
--- a/
modcmd.h
+++ b/
modcmd.h
@@
-33,7
+33,7
@@
struct trigger_cache {
};
void init_modcmd();
};
void init_modcmd();
-struct
* ClientSocket
get_prefered_bot(int botid);
+struct
ClientSocket*
get_prefered_bot(int botid);
int register_command(int botid, char *name, cmd_bind_t *func);
int set_trigger_callback(int botid, trigger_callback_t *func);
int changeChannelTrigger(int botid, struct ChanNode *chan, char *new_trigger);
int register_command(int botid, char *name, cmd_bind_t *func);
int set_trigger_callback(int botid, trigger_callback_t *func);
int changeChannelTrigger(int botid, struct ChanNode *chan, char *new_trigger);