summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorepochqwert <epoch@hacking.allowed.org>2015-06-05 08:01:09 -0500
committerepochqwert <epoch@hacking.allowed.org>2015-06-05 08:01:09 -0500
commitc049efe694535574770634b5ae40230c59098082 (patch)
treee0dbfcd2553d0be8ef2df996a0a2efc3bbf8b542 /examples
parentb86bc15298beb1d83854edb029414be3427e2c06 (diff)
downloadlibirc-c049efe694535574770634b5ae40230c59098082.tar.gz
libirc-c049efe694535574770634b5ae40230c59098082.zip
cleaned up some stuff in runem().
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/linkbin8036 -> 0 bytes
-rw-r--r--examples/link.c8
2 files changed, 1 insertions, 7 deletions
diff --git a/examples/link b/examples/link
deleted file mode 100755
index b40b8a9..0000000
--- a/examples/link
+++ /dev/null
Binary files differ
diff --git a/examples/link.c b/examples/link.c
index c175595..680550c 100644
--- a/examples/link.c
+++ b/examples/link.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <irc.h>
+#include "../irc.h"
#define mywrite(a,b) write(a,b,strlen(b))
@@ -12,12 +12,6 @@ void extra_handler(int fd) {
return;
}
-struct user {
- char *nick;
- char *user;
- char *host;
-};
-
void privmsg_others(int fd,char *msg) {
int i;
char tmp[512];