From 7b87539aedd967884d4e4eed75d1052a233720eb Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 7 Aug 2010 20:39:01 +0100 Subject: Add commands to the Twitter module, starting with undo (which deletes either your most recent tweet, or a specific id (pass it as an argument)). --- lib/misc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/misc.c') diff --git a/lib/misc.c b/lib/misc.c index 26d22ae0..fda19c19 100644 --- a/lib/misc.c +++ b/lib/misc.c @@ -651,6 +651,9 @@ int md5_verify_password( char *password, char *hash ) return ret; } +/* Split commands (root-style, *not* IRC-style). Handles "quoting of" + white\ space in 'various ways'. Returns a NULL-terminated static + char** so watch out with nested use! Definitely not thread-safe. */ char **split_command_parts( char *command ) { static char *cmd[IRC_MAX_ARGS+1]; -- cgit v1.2.3