diff options
author | Luke Bratch <luke@bratch.co.uk> | 2019-04-20 23:50:04 +0200 |
---|---|---|
committer | Luke Bratch <luke@bratch.co.uk> | 2019-04-20 23:50:04 +0200 |
commit | d50c1a6b2004c3cc616f3db842b4c2d209dca38b (patch) | |
tree | 346ef9701d2e4488f7d6ee65fd0aa6969241e765 /functions.h | |
parent | f4070050375a621d4297e0629c0072519cdf5d2d (diff) |
We are bouncing! You can now:
- connect the bouncer to a server
- connect to the bouncer with a real client
- join channels
- have new clients connect and have the bouncer join those new clients to the channels
- relay PRIVMSGs between all clients
Some random current big bugs:
- Joining channels whilst multiple clients are already connected doesn't join all clients properly
- Parting channels doesn't work
- No idea what will happen if the nick is in use, etc.
Features missing:
- Almost everything :)
Diffstat (limited to 'functions.h')
-rw-r--r-- | functions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/functions.h b/functions.h index 4605da6..d51d61c 100644 --- a/functions.h +++ b/functions.h @@ -27,4 +27,10 @@ int getstdin(char *prompt, char *buff, size_t sz); // Append CR-LF to the end of a string (after cleaning up any existing trailing CR or LF) void appendcrlf(char *string); +// Remove leading colon ':' which is the starting character of a prefix in an IRC message +void stripprefix(char *string); + +// Extract final parameter from IRC message, removing the leading colon ':' +void extractfinalparameter(char *string); + #endif |