Haha..
Never mind everyone. I figured out what was causing it not to work.
It turns out that I have a dcc alias to capture all manually entered dcc send commands. well the ctcp would call the /dcc get and it would call my dcc alias, which was stopping the code.
Thanks though.