Permalink
Browse files

Initial v1.0 commit

  • Loading branch information...
1 parent 5e89870 commit 919d586037092636bd8ced36cc3d6465037f3c42 @paraboul paraboul committed Jul 23, 2009
View
0 AUTHORS 100644 → 100755
No changes.
View
0 COPYING 100644 → 100755
No changes.
View
0 Makefile 100644 → 100755
No changes.
View
0 README 100644 → 100755
No changes.
View
0 bin/ape.conf 100644 → 100755
No changes.
View
0 bin/controller.conf 100644 → 100755
No changes.
View
0 bin/helloworld.conf 100644 → 100755
No changes.
View
0 bin/mod_mysql.conf 100644 → 100755
No changes.
View
0 modules/Makefile 100644 → 100755
No changes.
View
0 modules/global_plugins.h 100644 → 100755
No changes.
View
0 modules/lib/README 100644 → 100755
No changes.
View
0 modules/libape-chat.c 100644 → 100755
No changes.
View
0 modules/libape-controller.c 100644 → 100755
No changes.
View
0 modules/libape-helloworld.c 100644 → 100755
No changes.
View
0 modules/libape-mouse.c 100644 → 100755
No changes.
View
0 modules/libape-mysql.c 100644 → 100755
No changes.
View
0 modules/libape-mysql.h 100644 → 100755
No changes.
View
0 modules/libape-setcord.c 100644 → 100755
No changes.
View
0 modules/libape-spidermonkey.c 100644 → 100755
No changes.
View
0 modules/plugins.h 100644 → 100755
No changes.
View
0 src/base64.c 100644 → 100755
No changes.
View
0 src/base64.h 100644 → 100755
No changes.
View
8 src/channel.c 100644 → 100755
@@ -338,7 +338,7 @@ unsigned int setlevel(USERS *user_actif, USERS *user_passif, CHANNEL *chan, unsi
json_attach(jlist, get_json_object_user(user_actif), JSON_OBJECT);
set_json("level", itos(lvl, level), &jlist);
- set_json("channel", NULL, &jlist);
+ set_json("pipe", NULL, &jlist);
json_attach(jlist, get_json_object_channel(chan), JSON_OBJECT);
newraw = forge_raw(RAW_SETLEVEL, jlist);
@@ -358,7 +358,7 @@ unsigned int setlevel(USERS *user_actif, USERS *user_passif, CHANNEL *chan, unsi
json_attach(jlist, get_json_object_user(NULL), JSON_OBJECT);
set_json("level", itos(lvl, level), &jlist);
- set_json("channel", NULL, &jlist);
+ set_json("pipe", NULL, &jlist);
json_attach(jlist, get_json_object_channel(chan), JSON_OBJECT);
newraw = forge_raw(RAW_SETLEVEL, jlist);
@@ -390,7 +390,7 @@ unsigned int settopic(USERS *user, CHANNEL *chan, const char *topic, acetables *
set_json("user", NULL, &jlist);
json_attach(jlist, get_json_object_user(user), JSON_OBJECT);
- set_json("channel", NULL, &jlist);
+ set_json("pipe", NULL, &jlist);
json_attach(jlist, get_json_object_channel(chan), JSON_OBJECT);
newraw = forge_raw(RAW_SETTOPIC, jlist);
@@ -432,7 +432,7 @@ void ban(CHANNEL *chan, USERS *banner, const char *ip, char *reason, unsigned in
set_json("banner", NULL, &jlist);
json_attach(jlist, get_json_object_user(NULL), JSON_OBJECT);
}
- set_json("channel", NULL, &jlist);
+ set_json("pipe", NULL, &jlist);
json_attach(jlist, get_json_object_channel(chan), JSON_OBJECT);
newraw = forge_raw(RAW_BAN, jlist);
View
0 src/channel.h 100644 → 100755
No changes.
Oops, something went wrong.

0 comments on commit 919d586

Please sign in to comment.