EXio4/IPoIRC — pull request #1 by guampa (2012-05-25 17:47:10+00:00)
Title: codelift in ipoirc.c:

astyle --style=linux --indent=spaces=4 ipoirc.c
sorted the code in sections: defines/includes, typedefs, functions
added a semantic bool (false=0, true=1) for where it may be of need for clarity
started to rename some ids more meaningfully
misc cosmetic/style stuff (in-function subroutines, space after commas, etc)
IRC_* renamed to irc_* (this would be better to put in another module)

proposals:
move irc stuff to an irc module
same with socket stuff
use the boolean type whenever that semantic is used
declare all vars right when they will be used
put as much global state as possible in global structs

for now i can think of this :P