about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-10-02 01:24:48 +0100
committerJames Booth <boothj5@gmail.com>2012-10-02 01:24:48 +0100
commitb9ab5d9f33199132cb60c6e92eb83b316390ebcf (patch)
tree65e5fde3b94aaebba2246e0cff0a0ac51b4406b9 /src/main.c
parent69fc81cd1c6fc784a64c19a27fbe37d371dec7e8 (diff)
downloadprofani-tty-b9ab5d9f33199132cb60c6e92eb83b316390ebcf.tar.gz
Refactored profanity module
Now has simple run method and event handlers
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 7d4887ae..9e42d17d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -63,8 +63,7 @@ main(int argc, char **argv)
         return 0;
     }
 
-    profanity_init(disable_tls, log);
-    profanity_run();
+    prof_run(disable_tls, log);
 
     return 0;
 }