GIT.Harvie.CZ
/
mirrors
/
libpurple-core-answerscripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6b8234e
)
Cleaned up comments a bit
author
Harvie
<tomas@mudrunka.cz>
Tue, 28 Sep 2010 23:09:48 +0000
(
01:09
+0200)
committer
Harvie
<tomas@mudrunka.cz>
Tue, 28 Sep 2010 23:09:48 +0000
(
01:09
+0200)
answerscripts.c
patch
|
blob
|
blame
|
history
diff --git
a/answerscripts.c
b/answerscripts.c
index 7938538f1bb14582aee369665d63614278b61170..d562e51687bf4c06a4a046047dd423298f44cda8 100755
(executable)
--- a/
answerscripts.c
+++ b/
answerscripts.c
@@
-65,8
+65,6
@@
static void received_im_msg_cb(PurpleAccount *account, char *who, char *buffer,
//Get message
message = purple_markup_strip_html(buffer);
//Get message
message = purple_markup_strip_html(buffer);
- //printf("\nHarvie received: %s: %s\n", who, message); //debug
- //purple_conv_im_send(purple_conversation_get_im_data(conv), ":-*"); //debug
/* Here are prototypes of some functions interesting to implement github feature request #3
/* Here are prototypes of some functions interesting to implement github feature request #3
@@
-90,7
+88,7
@@
static void received_im_msg_cb(PurpleAccount *account, char *who, char *buffer,
//Get protocol ID
const char *protocol_id = purple_account_get_protocol_id(account);
//Get protocol ID
const char *protocol_id = purple_account_get_protocol_id(account);
- if(!strncmp(protocol_id,PROTOCOL_PREFIX,strlen(PROTOCOL_PREFIX))) protocol_id += strlen(PROTOCOL_PREFIX); //trim out
protocol prefix
(eg.: "prpl-irc" => "irc")
+ if(!strncmp(protocol_id,PROTOCOL_PREFIX,strlen(PROTOCOL_PREFIX))) protocol_id += strlen(PROTOCOL_PREFIX); //trim out
PROTOCOL_PREFIX
(eg.: "prpl-irc" => "irc")
//Get status
PurpleStatus *status = purple_account_get_active_status(account);
//Get status
PurpleStatus *status = purple_account_get_active_status(account);
This page took
0.112873 seconds
and
4
git commands to generate.